﻿using System;
using System.Collections.Generic;

namespace TCKQKL.FrontEnd.DataModel
{
    /// <summary>
    /// Stock holding per Investor
    /// (This include all assign accounts)
    /// </summary>
    public class PersonalHoldingUI
    {
        TotalHoldingDataUI _mainAccount;
        public TotalHoldingDataUI MainAccount
        {
            get { return _mainAccount; }
            set { _mainAccount = value; }
        }

        List<TotalHoldingDataUI> _assignAccounts;
        public List<TotalHoldingDataUI> AssignAccounts
        {
            get { return _assignAccounts; }
            set { _assignAccounts = value; }
        }

        private decimal _tradingValue;
        public decimal TradingValue
        {
            get { return _tradingValue; }
            set { _tradingValue = value; }
        }
        private decimal _nettingValue;
        public decimal NettingValue
        {
            get { return _nettingValue; }
            set { _nettingValue = value; }
        }
        private decimal _lockedValue;
        public decimal LockedValue
        {
            get { return _lockedValue; }
            set { _lockedValue = value; }
        }
        private decimal _totalValue;
        public decimal TotalValue
        {
            get { return _totalValue; }
            set { _totalValue = value; }
        }
        private decimal _totalGain;
        public decimal TotalGain
        {
            get { return _totalGain; }
            set { _totalGain = value; }
        }
        public PersonalHoldingUI()
        {

        }

        public PersonalHoldingUI(TotalHoldingDataUI mainAccount, List<TotalHoldingDataUI> assignAccount, decimal TradingValue, decimal NettingValue, decimal LockedValue, decimal TotalValue, decimal totalGain)
        {
            this._mainAccount = mainAccount;
            this._assignAccounts = assignAccount;
            this._tradingValue = TradingValue;
            this._nettingValue = NettingValue;
            this._lockedValue = LockedValue;
            this._totalValue = TotalValue;
            this._totalGain = TotalGain;
        }


    }
}
